package research.domain;

import java.util.Set;

import research.entity.Entity;
import research.entity.EntityType;

public class FilmType extends Entity {
	
	private String name;
	private String description;
	private boolean hasViscosity;
	private boolean hasStrength;
	private boolean hasPhoto;
	private boolean hasScratch;
	private boolean hasStabilizer;
	private Set<Sample> samples;
	private Set<Application> applications;
	private Set<DefaultParameterValue> defaultParameterValues;
	
	@Override
	public String getDisplayName() {
		return name;
	}

	public FilmType() {
		super(EntityType.FilmType);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean isHasViscosity() {
		return hasViscosity;
	}

	public void setHasViscosity(boolean hasViscosity) {
		this.hasViscosity = hasViscosity;
	}

	public boolean isHasStrength() {
		return hasStrength;
	}

	public void setHasStrength(boolean hasStrength) {
		this.hasStrength = hasStrength;
	}

	public boolean isHasPhoto() {
		return hasPhoto;
	}

	public void setHasPhoto(boolean hasPhoto) {
		this.hasPhoto = hasPhoto;
	}

	public boolean isHasScratch() {
		return hasScratch;
	}

	public void setHasScratch(boolean hasScratch) {
		this.hasScratch = hasScratch;
	}

	public boolean isHasStabilizer() {
		return hasStabilizer;
	}

	public void setHasStabilizer(boolean hasStabilizer) {
		this.hasStabilizer = hasStabilizer;
	}
	
	public static FilmType getNew() {
		FilmType ft = new FilmType();
		ft.setName("");
		ft.setDescription("");
		return ft;
	}

	public Set<Sample> getSamples() {
		return samples;
	}

	public void setSamples(Set<Sample> samples) {
		this.samples = samples;
	}

	public Set<Application> getApplications() {
		return applications;
	}

	public void setApplications(Set<Application> applications) {
		this.applications = applications;
	}

	public Set<DefaultParameterValue> getDefaultParameterValues() {
		return defaultParameterValues;
	}

	public void setDefaultParameterValues(
			Set<DefaultParameterValue> defaultParameterValues) {
		this.defaultParameterValues = defaultParameterValues;
	}
	
}
